const express = require("express");
const router = express.Router();
const menusController = require("../controller/menus");

router
  .post("/addMenu", menusController.addMenu)
  .get("/getMenu/:id", menusController.getMenu)
  .get("/getMenus", menusController.getMenus)
  .delete("/delMenu", menusController.delMenu)
  .put("/editMenu", menusController.editMenu);

module.exports = router;
